<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>
	<title><{if $global_site_type == 'manager'}>后台管理<{else}>后台管理<{/if}></title>
	
    <link rel="shortcut icon" href="/resource/www/imgs/admin.ico"/>
	<link rel="stylesheet" href="/resource/css/layout.css?t=20150808" type="text/css" media="screen" />
	<link rel="stylesheet" href="/resource/css/jdpicker.css" type="text/css" media="screen" />
     <link rel="stylesheet" href="/resource/kalendae/build/kalendae.css" type="text/css" charset="utf-8">
	<!--[if lt IE 9]>
	<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" />
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    <script src="/resource/www/js/jquery-2.1.4.min.js"></script>
	<script src="/resource/js/hideshow.js" type="text/javascript"></script>
	<script type="text/javascript" src="/resource/js/jquery.equalHeight.js"></script>
	<script type="text/javascript" src="/resource/js/jquery.jdpicker.js"></script>
	<script type="text/javascript" src="/resource/js/Chart.js"></script>
        <script type="text/javascript" src="/resource/ueditor/ueditor.config.js"></script>
        <script type="text/javascript" src="/resource/ueditor/ueditor.all.js"></script>
	<script src="/resource/kalendae/build/kalendae.standalone.js" type="text/javascript" charset="utf-8"></script>
            <script src="/resource/layer/layer.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
	$(document).ready(function() {

	//When page loads...
	$(".tab_content").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content

	//On Click Event
	$("ul.tabs li").click(function() {

		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content

		var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});

});
    </script>
    <script type="text/javascript">
    $(function(){
        $('.column').equalHeight();
    });
</script>
<script type="text/javascript" src="/resource/js/common.js"></script>
<{include file="common/style.tpl"}>
</head>

<body>

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
    <td colspan="2">
	<!-- end of header bar -->
	<section id='secondary_bar'>
		<div class="user">
			<span class="tx" style="position: relative; top:3px;"></span><strong style="overflow: hidden; line-height: 38px;"><{if $user_info.nickname==''}><{$user_info.realname}><{else}><{$user_info.nickname}><{/if}></strong>
		</div>
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="/passport/logout" class="fs15 head_logout">退出</a><div class="breadcrumb_divider"></div></article>
		</div>
	</section>
	<!-- end of secondary bar -->
    </td>
</tr>
<tr>
    <td width="20%" valign="top">
        <div style="width: 200px; height: 1px;">&nbsp;</div>
        <{include file="common/left_bar.tpl"}>
    </td>
    <td valign="top" align="left">

<script type="text/javascript">
$('#hide_left_bar').click(function(){
    if ($(this).text() == '隐藏菜单')
    {
        $('#sidebar').hide().parent().width('0');
        $(this).text('显示菜单');
        setcookie('hide_left_bar', 1);
    }
    else
    {
        $('#sidebar').show().parent().width('20%');
        $(this).text('隐藏菜单');
        setcookie('hide_left_bar', 0);
    }
});
$(function(){
    if (getcookie('hide_left_bar') == 1)
    {
        $('#hide_left_bar').click();
    }
});
</script>
